home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
dump100.lbr
/
dump100.doc
< prev
Wrap
Text File
|
2011-01-30
|
1KB
|
21 lines
DUMP100.COM (which I call Q.COM) is a simple program to dump the first 100
bytes of memory on a PC. It also shows the contents of the registers.
The program is useful to see how PC-DOS formats filenames, or more generally,
the command line, into the default File Control Blocks at 5ch and 6ch, and
into the temporary buffer at 80h. Thus if you were wanting to write an
assembler program to do some function, and wanted to know how the possible
operands looked at 80h, and how invalid operands looked (like keying in the
program name with no operands, or keying it in with a / then the operands (no
space), you can see just how it looks.
The register dump is also useful because it shows how much memory you have
tied up in your system for device drivers, etc. For example, if you want to
know how much room a new device driver taks, type in Q (or dump100 if you
haven't renamed it), note the value of CS. Then load the device driver, (i.e.
"dosedit" for example), then type Q again - the difference between the new CS
and the old one is the number of paragraphs (16-byte chunks) the device driver
took up.
09/22/84 by Ward Christensen